package model;

public class UsrType {
    private Long   utyp_id;
    private String utyp_name;
    private String utyp_descript;

    public UsrType(Long utyp_id, String utyp_name, String utyp_descript) {
        this.utyp_id = utyp_id;
        this.utyp_name = utyp_name;
        this.utyp_descript = utyp_descript;
    }

    public Long getUtyp_id() {
        return utyp_id;
    }

    @Override
    public String toString() {
        return "UsrType{" +
                "utyp_id=" + utyp_id +
                ", utyp_name='" + utyp_name + '\'' +
                ", utyp_descript='" + utyp_descript + '\'' +
                '}';
    }

    public String getUtyp_name() {
        return utyp_name;
    }

    public String getUtyp_descript() {
        return utyp_descript;
    }

    public void setUtyp_id(Long utyp_id) {
        this.utyp_id = utyp_id;
    }

    public void setUtyp_name(String utyp_name) {
        this.utyp_name = utyp_name;
    }

    public void setUtyp_descript(String utyp_descript) {
        this.utyp_descript = utyp_descript;
    }

    public UsrType(Object[] rowRec) {
        this.utyp_id = (Long)rowRec[0];
        this.utyp_name = (String)rowRec[1];
        this.utyp_descript = (String)rowRec[2];
    }

    public UsrType() {
    }
}
